export interface Option {
  text: string;
  value: string | number;
}

export interface Thing {
  name: string;
  title: string;
  unit: string;
  initNum?: number;
}

export const thingOptions: Thing[] = [
  { title: "吃奶奶", name: "cnn", unit: "ml" },
  { title: "吃维D", name: "cwd", unit: "颗", initNum: 1 },
  { title: "吃维AD", name: "cwad", unit: "颗", initNum: 1 },
  { title: "吃左甲", name: "czj", unit: "ug", initNum: 10 },
  { title: "拉粑粑", name: "lbb", unit: "坨", initNum: 1 },
  { title: "撒尿尿", name: "snn", unit: "泡", initNum: 1 },
  { title: "拔奶奶", name: "bnn", unit: "ml" },
  { title: "称体重", name: "ctz", unit: "kg" },
  { title: "量身高", name: "lsg", unit: "cm" },
];

export const timeOptions: Option[] = [
  { text: "现在", value: 0 },
  { text: "5分钟前", value: 5 },
  { text: "10分钟前", value: 10 },
  { text: "30分钟前", value: 30 },
  { text: "45分钟前", value: 45 },
  { text: "1小时前", value: 60 },
  { text: "2小时前", value: 120 },
  { text: "3小时前", value: 180 },
];
